import request from "@/utils/request";

// 查询客户预审列表
export function listBizYushenInfo(query) {
  return request({
    url: "/biz/bizYushenInfo/list",
    method: "get",
    params: query,
  });
}

// 查询客户预审详细
export function getBizYushenInfo(id) {
  return request({
    url: "/biz/bizYushenInfo/" + id,
    method: "get",
  });
}

// 新增客户预审
export function addBizYushenInfo(data) {
  return request({
    url: "/biz/bizYushenInfo",
    method: "post",
    data: data,
  });
}

// 修改客户预审
export function updateBizYushenInfo(data) {
  return request({
    url: "/biz/bizYushenInfo",
    method: "put",
    data: data,
  });
}

// 删除客户预审
export function delBizYushenInfo(id) {
  return request({
    url: "/biz/bizYushenInfo/" + id,
    method: "delete",
  });
}

// 查询最大编号
export function findMaxSort() {
  return request({
    url: "/biz/bizYushenInfo/findMaxSort",
    method: "get",
  });
}
// 导出客户预审
export function exportBizYushenInfo(query) {
  return request({
    url: "/biz/bizYushenInfo/export",
    method: "get",
    params: query,
  });
}
